package com.cell.common.exceptions.exceptions;

import lombok.Getter;

/**
 * @author cloudJiang
 * @date 2022/6/28 9:42
 */
public class PointAccountException extends ServiceException {

    public PointAccountException(String message, Integer states) {
        super(message, states);
        if (states == null) {
            throw new IllegalArgumentException("必须指定错误时的业务状态码！");
        }
    }
}
